#ifndef _CHECKBUTTON_H_
#define _CHECKBUTTON_H_

#include <interfacelib/window/button.h>
namespace interfacelib
{
	namespace Window
	{
		class CheckButton : public interfacelib::Window::Button
		{
		public:
			CheckButton();
			virtual ~CheckButton();

		public:	
			virtual void setState( DWORD state );

			virtual void onMouseOut( LONG x, LONG y );
			virtual void onMouseOver( LONG x, LONG y );
			virtual void onLButtonDown( UINT flags, POINT point );

			void setDisableClickNormalMode( bool isMode );
		private:
			bool m_isDisableClickNormalMode;
		};
	};
};

#endif